package com.zy.pro.order.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zy.core.service.impl.ServiceSupport;
import com.zy.pro.order.dao.OrderItemMapper;
import com.zy.pro.order.model.OrderItem;
import com.zy.pro.order.service.OrderItemService;
@Service
public class OrderItemServiceImpl extends ServiceSupport<OrderItem> implements OrderItemService {

	@Autowired
    private OrderItemMapper<OrderItem> mapper;

	public OrderItemMapper<OrderItem> getMapper() {
		return mapper;
	}
		
	@Override
	public OrderItem findOrderDetail(String orderId) {
		return mapper.findOrderDetail(orderId);
	}
}
